/****************************************************************************
** Meta object code from reading C++ file 'discoverAgent.h'
**
** Created: Mon Aug 22 19:37:35 2011
**      by: The Qt Meta Object Compiler version 62 (Qt 4.7.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "discoverAgent.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'discoverAgent.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.7.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_DiscoverThread[] = {

 // content:
       5,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: signature, parameters, type, tag, flags
      22,   16,   15,   15, 0x05,
      55,   45,   15,   15, 0x05,
      87,   82,   15,   15, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_DiscoverThread[] = {
    "DiscoverThread\0\0value\0sendProgressValue(int)\0"
    "agentInfo\0sendAgentInfo(QStringList)\0"
    "flag\0signalStartStop(int)\0"
};

const QMetaObject DiscoverThread::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_DiscoverThread,
      qt_meta_data_DiscoverThread, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &DiscoverThread::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *DiscoverThread::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *DiscoverThread::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_DiscoverThread))
        return static_cast<void*>(const_cast< DiscoverThread*>(this));
    return QThread::qt_metacast(_clname);
}

int DiscoverThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: sendProgressValue((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 1: sendAgentInfo((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 2: signalStartStop((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void DiscoverThread::sendProgressValue(const int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void DiscoverThread::sendAgentInfo(const QStringList & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void DiscoverThread::signalStartStop(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
static const uint qt_meta_data_DiscoverAgent[] = {

 // content:
       5,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      15,   14,   14,   14, 0x08,
      31,   14,   14,   14, 0x08,
      52,   46,   14,   14, 0x08,
      71,   14,   14,   14, 0x08,
      84,   14,   14,   14, 0x08,
     108,   98,   14,   14, 0x08,
     141,  135,   14,   14, 0x08,
     168,  163,   14,   14, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_DiscoverAgent[] = {
    "DiscoverAgent\0\0startDiscover()\0"
    "stopDiscover()\0point\0createMenu(QPoint)\0"
    "addToAgent()\0deleteAgent()\0agentInfo\0"
    "showAgentInfo(QStringList)\0value\0"
    "setProgressValue(int)\0flag\0setStartStop(int)\0"
};

const QMetaObject DiscoverAgent::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_DiscoverAgent,
      qt_meta_data_DiscoverAgent, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &DiscoverAgent::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *DiscoverAgent::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *DiscoverAgent::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_DiscoverAgent))
        return static_cast<void*>(const_cast< DiscoverAgent*>(this));
    return QObject::qt_metacast(_clname);
}

int DiscoverAgent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: startDiscover(); break;
        case 1: stopDiscover(); break;
        case 2: createMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 3: addToAgent(); break;
        case 4: deleteAgent(); break;
        case 5: showAgentInfo((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 6: setProgressValue((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 7: setStartStop((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 8;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
